home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / tclMotif-1.4 / send / Imakefile < prev    next >
Makefile  |  1995-06-29  |  1KB  |  71 lines

  1. INSTALL_DIR=/usr/skunk
  2.  
  3. BINDIR        = $(INSTALL_DIR)/bin
  4. LIBDIR        = $(INSTALL_DIR)/lib
  5. USRLIBDIR    = $(INSTALL_DIR)/lib
  6. INCDIR        = $(INSTALL_DIR)/include/$(PROGRAM)
  7. XAPPLOADDIR    = $(INSTALL_DIR)/lib/X11/app-defaults
  8. CONFIGDIR    = /usr/lib/X11/config
  9. MKDIRHIER    = /bin/sh /usr/bin/X11/mkdirhier
  10. MANDIR        = $(INSTALL_DIR)/man/man1
  11. MANSUFFIX    = 1
  12. SCRIPTSRC       =/usr/bin/X11
  13.  
  14.  
  15. /* this version of tclXtSend is based on tk3.2 */
  16.  
  17. CC = gcc
  18.  
  19. /* for debugging the library, set these
  20. CDEBUGFLAGS = -g -DDEBUG -DDONT_GRAB_SERVER
  21. */
  22. CDEBUGFLAGS =
  23.  
  24. XCOMM TCL_INCLUDE= /usr/local/include
  25. TCL_INCLUDE= ../../tcl-7.3
  26. XCOMM MOTIF_INCLUDE= /usr/local/include
  27. MOTIF_INCLUDE= /usr/include
  28.  
  29. /* what type of libraries do you want? */
  30. #define DoNormalLib YES
  31. #define DoSharedLib NO
  32.  
  33. #include <Library.tmpl>
  34.  
  35. INCLUDES = -I$(TCL_INCLUDE) -I$(MOTIF_INCLUDE)
  36.  
  37. OBJS = tclXtSend.o
  38.  
  39. SRCS = tclXtSend.c
  40. #ifndef LibraryObjectRule
  41. #define LibraryObjectRule() /* not found in R4! */
  42. #endif
  43.  
  44. LibraryObjectRule()
  45.  
  46. #if DoNormalLib
  47. #if ProjectX < 6 || !DoSharedLib
  48. NormalLibraryTarget(tclXtSend,$(OBJS))
  49. #else
  50. UnsharedLibraryTarget(tclXtSend,$(OBJS),unshared,..)
  51. #endif
  52. InstallLibrary(tclXtSend,$(USRLIBDIR))
  53. #endif
  54.  
  55. #if DoSharedLib
  56. #if DoNormalLib && (ProjectX < 6)
  57. SharedLibraryTarget(tclXtSend,1.2,$(OBJS),shared,..)
  58. #else
  59. SharedLibraryTarget(tclXtSend,1.2,$(OBJS),.,.)
  60. #endif
  61. InstallSharedLibrary(tclXtSend,1.2, $(USRLIBDIR))
  62. #endif
  63.  
  64. DependTarget()
  65.  
  66. MANDIR = $(LIBMANDIR)
  67. MANSUFFIX = $(LIBMANSUFFIX)
  68.  
  69. InstallManPage(tclXtSend,$(MANDIR))
  70.  
  71.